﻿using System.Windows.Forms;

namespace AiFrame.InterfaceLib.MVP
{
    /// <summary>
    /// Repesents an abstract window with basic
    /// methods.
    /// </summary>
    public interface IAbstractWindow: IRefreshView
    {
        /// <summary>
        /// Disposes all resources.
        /// </summary>
        void SetFree();

        /// <summary>
        /// Sets the parent window.
        /// </summary>
        void SetParentWindow(Control parent);

        /// <summary>
        /// Brings the window to front.
        /// </summary>
        void BringWindowToFront();
    }
}